# import sys
# import json
# import pymongo
# import ConnMySql
# import ConnMongo
# import ConfigParser
# reload(sys)
# sys.setdefaultencoding('utf-8')
#
#
#
# conf = ConfigParser.ConfigParser()
# conf.read("Db.conf")
# DBHOST=conf.get("mem", "dbhost")
# DBUSER=conf.get("mem", "dbuser")
# DBPWD=conf.get("mem", "dbpassword")
# DBNAME=conf.get("mem", "dbname")
# DBPORT=conf.get("mem", "dbport")
# print  DBNAME,DBHOST,DBPORT,DBUSER,DBPWD
# DBCHARSET=conf.get("mem", "dbcharset")
#
# msqlDb = ConnMySql.ConnMySql(DBHOST,DBPORT,DBNAME,DBUSER,DBPWD,DBCHARSET)
# sql = 'select * from tbl_member where code = "10074"'
# print sql
#
# s = msqlDb.fetch_all(sql)
#
# print s
#
# msqlDb.close()
#
# mhost=conf.get("Monogo", "monhost")
# mport=conf.get("Monogo", "monport")
# mdbname=conf.get("Monogo", "mondbname")
# mcolname=conf.get("Monogo", "moncolname")
#
# mongodb = ConnMongo.ConnMongo(mhost,mport,mdbname,mcolname)
# exam = "10076"
# # port = int(mport)
# # conn = pymongo.MongoClient(mhost,port)
# # db = conn[mdbname]
# # data = db[mcolname].find_one(exam)
# # conn.close()
# # print data
#
# print mongodb.find_all(exam)
#
# mongodb.close()


rs = []
rs.append(1)
print rs